package lgq.service;

import java.util.List;

import dao.CourseScoreDAO;
import dao.impl.CourseScoreDAOImpl;
import model.CourseScore;

public class CourseScoreManager {
	CourseScoreDAO cs=new CourseScoreDAOImpl();
	public boolean addCourseScore(CourseScore courseScore) 
	{
		return cs.addCourseScore(courseScore);
	}
	public  boolean updateCourseScore(CourseScore courseScore) {
		return cs.updateCourseScore(courseScore);
	}
	public List<CourseScore> getCourseScoreByEmpIdAndTrainId(int empid, int trainid) {
		return cs.getCourseScoreByEmpId(empid, trainid);
	}
	public boolean deleteById(int id)
	{
		return cs.deleteById(id);
	}
}
